{include file="pageheader.htm"}
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
<table width="90%" cellspacing="0" cellpadding="3" id="order_date-table" border="1" bgcolor="#fff" align="center">
    <tr align="center">  
      <td>订单号：<a href="http://www.eggms.com/73ycadmin/order.php?act=info&order_id={$summary.order_id}">{$summary.order_sn}</a></td>
      <td>{$summary.add_time}</td>
      <td>{$summary.pay_way}</td>
      <td>收货地区：{$summary.province_name}</td>
      <td>发货仓库：{if $summary.agency_id eq 2}杭州{else}广州{/if}</td>
    </tr>
</table>
<br />
<table width="90%" cellspacing="0" cellpadding="3" id="order_date-table" border="1" bgcolor="#fff" align="center">
    <tr align="center">
      <td>sku</td>
      <td>商品名称</td>
      <td>数量</td>
      <td>重量(kg)</td>
      <td>进货价</td>
      <td>售价</td>
      <td>实售价</td>
    </tr>
    <!-- {foreach from=$detail item=items} -->
    <tr align="center">
      <!--{foreach from=$items item=item key=key}--> 
      <td>{$item}</td>  
      <!--{/foreach}-->
    </tr> 
    <!-- {/foreach} -->
    <!--汇总-->
    <tr align="center" bgcolor="#9CCBD6">
      <td>总计</td>
      <td></td>
      <td></td>
      <td>{$summary.all_weight}</td>
      <td>{$summary.xprice}</td>
      <td>{$summary.shop_price}</td>
      <td>{$summary.goods_price}</td>
    </tr>
</table>
<div>
  <h2>概览</h2>
  <table width="90%" cellspacing="0" cellpadding="3" id="order_date-table" border="1" bgcolor="#fff" align="center">
    <tr align="center">
      <td>支付：{$summary.pay}</td>
      <td>进货价：{$summary.xprice}</td>
      <td>快递费：{$summary.shipping_fee}</td>
      <td>包装成本：{$summary.package_fee}</td>
    </tr>
</table>
<h3 align="center">纯利润：{$summary.pay} - {$summary.xprice} - {$summary.shipping_fee} - {$summary.package_fee} = <span style="color:red; font-size: 20px;">{$summary.pure}</span></h3>

<p align="center">说明：这里的售价没有计算梯度价，所以与总表会有小小的出入</p>
</div>

{include file="pagefooter.htm"}